using System.Collections.Generic;
using Wikey.Extensibility.Interfaces;

namespace Wikey.Transformation
{
    public class ExpressionFunction : IExpressionFunction {
        public IList<IExpressionParameter> Parameters { get; private set; }
        public string Name { get; set; }
        public ExpressionFunction() {
            Parameters = new List<IExpressionParameter>();
        }

        public void AddParameter(IExpressionParameter parameter) {
            Parameters.Add(parameter);
        }

        public string Value {
            get;
            set;
        }

        public bool Evaluated { get; set; }
    }
}